package com.grts.mall.service;

import java.util.List;

import com.grts.mall.pojo.Product;
import com.grts.mall.pojo.vo.ProductSearchConditionVo;

public interface ProductService {

	List<Product> findAll();

	long count();

	List<Product> findPageList(ProductSearchConditionVo vo);

	void del(Long pid);

	void batchDel(List<Long> pid);

	void save(Product product);
	
	long countByExample(ProductSearchConditionVo vo);

	Product findById(Long pid);

	void updata(Product product);

}
